package gin_frame

import (
	"gitee.com/yijimu/gin-frame/utils"
	"github.com/gin-gonic/gin"
	"go.uber.org/zap"
	"gorm.io/gorm"
)

//全局变量

var (
	RouterHandleList []func(r *gin.Engine) // 通过 RegisterRouter() 方法注册进来

	DB     *gorm.DB
	DBList = make(map[string]*gorm.DB)

	Redis     *utils.RedisClient
	RedisSync *utils.RedsyncClient //redis 分布式锁

	//Log 日志
	Log *zap.Logger
)
